//
//  KStoreItemDetailModel.h
//  Peanut
//
//  Created by Jim huang on 2018/7/20.
//  Copyright © 2018年 Jim_Peanut. All rights reserved.
//

#import <Foundation/Foundation.h>

@class KStoreItemDetailbannerModel,KStoreItemDetailCommentModel,KStoreItemDetailCommentImageModel,KStoreItemDetailSkuModel,KStoreItemDetailAttModel,KStoreItemDetailAttDetailModel,KStoreItemGroupBuyModel;

@interface KStoreItemDetailModel : NSObject
//
@property (nonatomic,copy) NSString * allReviewQty;
//
@property (nonatomic,copy) NSString * attrs;
//
@property (nonatomic,copy) NSString * cateKey;
//
@property (nonatomic,copy) NSString * defaultSkuId;
//
@property (nonatomic,copy) NSString * descFid;
//
@property (nonatomic,copy) NSString * evalQty;
//
@property (nonatomic,copy) NSString * favQty;
//
@property (nonatomic,copy) NSString * goodReviewQty;
//id
@property (nonatomic,copy) NSString * id;
//库存
@property (nonatomic,copy) NSString * inventoryQty;
//
@property (nonatomic,copy) NSString * isHide;
//是否收藏
@property (nonatomic,copy) NSString * isLike;
//
@property (nonatomic,copy) NSString * listPrice;
//地址
@property (nonatomic,copy) NSString * location;
//
@property (nonatomic,copy) NSString * mainImageUrl;
//
@property (nonatomic,copy) NSString * middleReviewQty;
//
@property (nonatomic,copy) NSString * mistakeReviewQty;
//名称
@property (nonatomic,copy) NSString * name;
//
@property (nonatomic,copy) NSString * pointPrice;
//
@property (nonatomic,copy) NSString * pointProportion;
//轮播图片
@property (nonatomic,strong) NSArray <KStoreItemDetailbannerModel *> * prodMediaViews;
//价格
@property (nonatomic,copy) NSString * salePrice;
//销售数量
@property (nonatomic,copy) NSString * saleQty;
//评论列表
@property (nonatomic,strong) NSArray <KStoreItemDetailCommentModel *> * saleReviewViews;
//商品Sku
@property (nonatomic,strong) NSArray <KStoreItemDetailSkuModel *> * saleSkuViews;
//
@property (nonatomic,copy) NSString * salesType;
//分享地址
@property (nonatomic,copy) NSString * shareUrl;
//商品SkuEav
@property (nonatomic,strong) NSArray <KStoreItemDetailAttModel *> * skuEavAttributeViews;
//副标题
@property (nonatomic,copy) NSString * subName;
//简介
@property (nonatomic,copy) NSString * summary;
//类型
@property (nonatomic,copy) NSString * type;
//团购
@property (nonatomic,strong) KStoreItemGroupBuyModel * groupBuyView;

@end


/**
 轮播图
 */
@interface KStoreItemDetailbannerModel : NSObject

//
@property (nonatomic,copy) NSString * cloudKey;
//地址
@property (nonatomic,copy) NSString * cloudPath;
//
@property (nonatomic,copy) NSString * cloudType;
//
@property (nonatomic,copy) NSString * id;
//
@property (nonatomic,copy) NSString * isMain;
//
@property (nonatomic,copy) NSString * localPath;

@end



/**
 评论列表
 */
@interface KStoreItemDetailCommentModel : NSObject

//
@property (nonatomic,copy) NSString * attrOpLabels;
//内容
@property (nonatomic,copy) NSString * content;
//创建时间
@property (nonatomic,copy) NSString * createTime;
//
@property (nonatomic,copy) NSString * id;
//用户名
@property (nonatomic,copy) NSString * nickName;
//
@property (nonatomic,copy) NSString * partyName;
//
@property (nonatomic,copy) NSString * prodSkuId;
//
@property (nonatomic,copy) NSString * prodSkuName;
//头像
@property (nonatomic,copy) NSString * profile;
//
@property (nonatomic,copy) NSString * saleId;
//
@property (nonatomic,copy) NSString * score;
//
@property (nonatomic,copy) NSString * soId;
//评论图片列表
@property (nonatomic,strong) NSArray <KStoreItemDetailCommentImageModel *> * saleReviewImgViews;
@end


/**
 评论图片
 */
@interface KStoreItemDetailCommentImageModel : NSObject
//
@property (nonatomic,copy) NSString * id;
//图片
@property (nonatomic,copy) NSString * imgUrl;
//
@property (nonatomic,copy) NSString * reviewId;

@end


@interface KStoreItemDetailSkuModel :NSObject

//
@property (nonatomic,copy) NSString * actSkuId;
//
@property (nonatomic,copy) NSString * activityType;
//
@property (nonatomic,copy) NSString * attrIds;
//属性名称
@property (nonatomic,copy) NSString * attrNames;
//规格id集
@property (nonatomic,copy) NSString * attrOpIds;
//规格名称
@property (nonatomic,copy) NSString * attrOpLabels;
//
@property (nonatomic,copy) NSString * attrOpValues;
//skuId
@property (nonatomic,copy) NSString * id;
//
@property (nonatomic,copy) NSString * listPrice;
//
@property (nonatomic,copy) NSString * mainCloudPath;
//
@property (nonatomic,copy) NSString * name;
//
@property (nonatomic,copy) NSString * pointPrice;
//
@property (nonatomic,copy) NSString * pointProportion;
//
@property (nonatomic,copy) NSString * qty;
//
@property (nonatomic,copy) NSString * saleProdId;
//
@property (nonatomic,copy) NSString * skuName;
//
@property (nonatomic,copy) NSString * subName;
//库存
@property (nonatomic,copy) NSString * inventoryQty;
//销售价格
@property (nonatomic,copy) NSString * salesPrice;

//购物车 是否已选
@property (nonatomic,assign) BOOL isSelected;


@end



/**
 条件
 */
@interface KStoreItemDetailAttModel :NSObject

//销售价格
@property (nonatomic,strong) NSArray<KStoreItemDetailAttDetailModel *> * eavAttrOptionViews;
//
@property (nonatomic,copy) NSString * name;
//
@property (nonatomic,copy) NSString * value;

@property (nonatomic,strong) KStoreItemDetailAttDetailModel * selectAttModel;


@end

/**
 条件
 */
@interface KStoreItemDetailAttDetailModel :NSObject
//属性id
@property (nonatomic,copy) NSString * attrId;
//属性值id
@property (nonatomic,copy) NSString * id;
//属性
@property (nonatomic,copy) NSString * label;
//属性值
@property (nonatomic,copy) NSString * value;
//能否选择
@property (nonatomic,assign) BOOL canUse;

@end

@interface KStoreItemDetailBaseModel : NSObject

@property (nonatomic,strong) KStoreItemDetailModel * saleEntityView;

@end

@interface KStoreItemGroupBuyModel : NSObject
//已成团人数
@property (nonatomic,copy) NSString * alreadyQty;
//创建时间
@property (nonatomic,copy) NSString * createTime;
//结束时间
@property (nonatomic,copy) NSString * endTime;
//团购价
@property (nonatomic,copy) NSString * groupPrice;
//团购id
@property (nonatomic,copy) NSString *  id;
//发起人id
@property (nonatomic,copy) NSString * partyId;
//skuId
@property (nonatomic,copy) NSString * saleProdId;
//开始时间
@property (nonatomic,copy) NSString *  startTime;
//剩余时间
@property (nonatomic,copy) NSString * surplusTime;
//开团人数
@property (nonatomic,copy) NSString * totalQty;

@end

@interface KStoreItemExplainModel : NSObject

//
@property (nonatomic,copy) NSString * id;
//
@property (nonatomic,copy) NSString * path;
//内容
@property (nonatomic,copy) NSString * text;
//
@property (nonatomic,copy) NSString * type;
@end

@interface KStoreItemExplainBaseModel : NSObject

@property (nonatomic,strong) KStoreItemExplainModel * glTextView;

@end


